e6e8226e7e7a601b758690593c0930c03c8d1333,extensions/twl/gdx-twl/src/com/badlogic/gdx/twl/renderer/GdxFont.java,GdxFont,cacheText,#FontCache#CharSequence#number#number#,91
Before Change
public FontCache cacheText (FontCache cache, CharSequence str, int start, int end) {
if (cache == null) cache = new GdxFontCache(this, str.length());
return (GdxFontCache)bitmapFont
.cacheText((GdxFontCache)cache, str, 0, 0, com.badlogic.gdx.graphics.Color.WHITE, start, end);
}
public FontCache cacheMultiLineText (FontCache cache, CharSequence str, int width, de.matthiasmann.twl.HAlignment align) {
After Change
public FontCache cacheText (FontCache cache, CharSequence str, int start, int end) {
if (cache == null) cache = new GdxFontCache();
BitmapFontCache bitmapCache = ((GdxFontCache)cache).bitmapCache;
bitmapFont.cacheText(bitmapCache, str, 0, 0, com.badlogic.gdx.graphics.Color.WHITE, start, end);
return cache;
}